<?php

class Minicio extends CI_Model {

public function listarxCod($cod) {
        $query = $this->db->query('SELECT * FROM animes where id=?', $cod);
        return $query->result();
    }

}

?>
